package cn.initcap.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author initcap
 * @date Created in 2018/5/17 PM9:56.
 */
@ConfigurationProperties(prefix = "initcap.security")
@Getter
@Setter
public class SecurityProperties {

    /**
     * 浏览器环境配置
     */
    private WebProperties web = new WebProperties();

    /**
     * 验证码配置
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();

    /**
     * 社交登录配置
     */
    private SocialProperties social = new SocialProperties();

    /**
     * OAuth2认证服务器配置
     */
    private OAuth2Properties oauth2 = new OAuth2Properties();

}
